export const objToQuery = (data: Record<string, string>) => {
    let query = ''
    for (let key in data) {
      query += `&${key}=${data[key]}`
    }
    return query
}